package com.xianzhiOA.bean;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.format.annotation.NumberFormat;

import java.util.Date;
import java.util.List;

public class XzPerson {
    private Long personId;
    //姓名
    private String personName;
    //性别  1：男；2：女
    private String personSex;
    //生日
    private String personBirth;
    //年龄
    private Integer personAge;
    //电话
    private String personTel;
    //工作经验
    private String personExp;
    //学历
    private String personEducation;
    //应聘职位
    private String personJob;
    //简历路径
    private String personResume;
    //前台状态 1：合格；2：不合格
    private Integer personReception;
    //简历阶段 1：没来；2：待命；3：pass；4：关单；
    private Integer personRecord;
    //人事审核 A B C 等级
    private String personAudit;
    //员工id
    private Long empId;
    //员工姓名
    private String empName;
    //评价
    private List<XzComment> commentList;
    //初次评价时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date commentTime;
    //面试时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date interviewTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String field1;

    private String field2;

    private String field3;

    private Date deleteTime;

    private Integer isdelete;

    public Integer getPersonAge() {return personAge; }

    public void setPersonAge(Integer personAge) {this.personAge = personAge;}

    public Long getPersonId() {
        return personId;
    }

    public void setPersonId(Long personId) {
        this.personId = personId;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName == null ? null : personName.trim();
    }

    public String getPersonSex() {
        return personSex;
    }

    public void setPersonSex(String personSex) {
        this.personSex = personSex == null ? null : personSex.trim();
    }

    public String getPersonBirth() {
        return personBirth;
    }

    public void setPersonBirth(String personBirth) {
        this.personBirth = personBirth == null ? null : personBirth.trim();
    }

    public String getPersonTel() {
        return personTel;
    }

    public void setPersonTel(String personTel) {
        this.personTel = personTel == null ? null : personTel.trim();
    }

    public String getPersonExp() {
        return personExp;
    }

    public void setPersonExp(String personExp) {
        this.personExp = personExp == null ? null : personExp.trim();
    }

    public String getPersonEducation() {
        return personEducation;
    }

    public void setPersonEducation(String personEducation) {
        this.personEducation = personEducation == null ? null : personEducation.trim();
    }

    public String getPersonJob() {
        return personJob;
    }

    public void setPersonJob(String personJob) {
        this.personJob = personJob == null ? null : personJob.trim();
    }

    public String getPersonResume() {
        return personResume;
    }

    public void setPersonResume(String personResume) {
        this.personResume = personResume == null ? null : personResume.trim();
    }

    public Integer getPersonReception() {
        return personReception;
    }

    public void setPersonReception(Integer personReception) {
        this.personReception = personReception;
    }

    public Integer getPersonRecord() {
        return personRecord;
    }

    public void setPersonRecord(Integer personRecord) {
        this.personRecord = personRecord;
    }

    public String getPersonAudit() { return personAudit;}

    public void setPersonAudit(String personAudit) {this.personAudit = personAudit;}

    public Date getCommentTime() { return commentTime;}

    public void setCommentTime(Date commentTime) {this.commentTime = commentTime;}

    public Date getInterviewTime() { return interviewTime;}

    public void setInterviewTime(Date interviewTime) {this.interviewTime = interviewTime;}

    public Date getCreateTime() { return createTime;}

    public void setCreateTime(Date createTime) {this.createTime = createTime; }

    public Long getEmpId() { return empId;}

    public void setEmpId(Long empId) {this.empId = empId; }

    public String getEmpName() { return empName;}

    public void setEmpName(String empName) { this.empName = empName; }

    public List<XzComment> getCommentList() { return commentList;}

    public void setCommentList(List<XzComment> commentList) { this.commentList = commentList;}

    public String getField1() {
        return field1;
    }

    public void setField1(String field1) {
        this.field1 = field1 == null ? null : field1.trim();
    }

    public String getField2() {
        return field2;
    }

    public void setField2(String field2) {
        this.field2 = field2 == null ? null : field2.trim();
    }

    public String getField3() {
        return field3;
    }

    public void setField3(String field3) {
        this.field3 = field3 == null ? null : field3.trim();
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public Integer getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }

    @Override
    public String toString() {
        return "XzPerson{" +
                "personId=" + personId +
                ", personName='" + personName + '\'' +
                ", personSex='" + personSex + '\'' +
                ", personBirth='" + personBirth + '\'' +
                ", personAge=" + personAge +
                ", personTel='" + personTel + '\'' +
                ", personExp='" + personExp + '\'' +
                ", personEducation='" + personEducation + '\'' +
                ", personJob='" + personJob + '\'' +
                ", personResume='" + personResume + '\'' +
                ", personReception=" + personReception +
                ", personRecord=" + personRecord +
                ", personAudit='" + personAudit + '\'' +
                ", empId=" + empId +
                ", empName='" + empName + '\'' +
                ", commentList=" + commentList +
                ", commentTime=" + commentTime +
                ", interviewTime=" + interviewTime +
                ", createTime=" + createTime +
                ", field1='" + field1 + '\'' +
                ", field2='" + field2 + '\'' +
                ", field3='" + field3 + '\'' +
                ", deleteTime=" + deleteTime +
                ", isdelete=" + isdelete +
                '}';
    }
}